/*
 * File			: Main.cpp
 * Date			: 2016/11/08
 * Author		: lsh
 * Description	: 
 */

#include <iostream>
#include <memory>
#include <mutex>
#include "Singleton.h"


int main(int argc, char *argv[])
{
    Singleton* mySt = Singleton::GetInstance();
    Singleton* mySt1 = Singleton::GetInstance();

	mySt->DoSomeThing();
    //std::cout << mySt.use_count() << std::endl;
    std::cout << "done." << std::endl;

    return 0;
}

